$("ul li.list-li.nominations").click(function () {
    $("#nominations-filter").val($(this).text());
});
$("ul li.list-li.subject").click(function () {
    $("#subject-filter").val($(this).text());
});

function search_tag(btn, search_name) {
    let name = $('.search-input').attr('name');
    if (name == search_name) {
        $('.btn-tag').removeClass('btn-tag-active');
        $('.search-input').attr('name', 'name');
    } else {
        $('.btn-tag').removeClass('btn-tag-active');
        $(btn).addClass('btn-tag-active');
        $('.search-input').attr('name', search_name);
    }
}